settings: Don't assert in notify
authorMatthias Clasen <mclasen@redhat.com>
Fri, 6 Oct 2017 23:30:27 +0000 (19:30 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 6 Oct 2017 23:30:27 +0000 (19:30 -0400)
We can legitimately hit the default case in this switch,
so don't assert that we don't.

gtk/gtksettings.c

index 0f199ae6ed638c6738eaba742244f01e5b527450..69b60afadbd92e4c30b49df491ebb8093e294177 100644 (file)
@@ -1403,7 +1403,6 @@ gtk_settings_notify (GObject    *object,
       settings_update_cursor_theme (settings);
       break;
     default:
-      g_assert_not_reached ();
       break;
     }
 }